package com.neal.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @author Neal
 * @createdDate 2014-5-26
 */
@Controller
@RequestMapping("/user")
public class UserController {
	Logger logger = LoggerFactory.getLogger(UserController.class);
	
    @RequestMapping(value = "/getUser", method = RequestMethod.GET)
    public String getUser() {
    	logger.debug("debug");
    	logger.info("info");
    	logger.error("error");
        return "user";
    }
}
